
 
var jsdom = require("jsdom");  
  
jsdom.env("a.html",  ["http://code.jquery.com/jquery.js"],  
    function (errors, window) {  
        console.log(window);
    }  
); 